<style>
    div.nocontinue span {
        border-bottom: 2px solid lightgray;
        float: left;
    }
</style>

<div class="nocontinue">
    <span>有换行的span</span>
    <span>有换行的span</span>
    <span>有换行的span</span>
</div>

<div style="clear:both"></div>

<div>后续的内容</div>